package com.weilan.blog.picture.vo;

import com.weilan.blog.base.validator.group.GetList;
import com.weilan.blog.base.validator.group.Insert;
import com.weilan.blog.base.validator.group.Update;
import com.weilan.blog.base.vo.BaseVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/10/10 15:30
 */
@Data
public class PictureVO extends BaseVO<PictureVO> {
    /**
     * 图片UID
     */
    private String fileUid;

    /**
     * 图片UIDs
     */
    @NotBlank(groups = {Insert.class})
    private String fileUids;

    /**
     * 图片名称
     */
    private String picName;

    /**
     * 所属相册分类UID
     */
    @NotBlank(groups = {Insert.class, Update.class, GetList.class})
    private String pictureCategoryUid;
}
